package com.sina.shop.manage.dao.menu;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.menu.Menu;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA
 * description:
 * 段浩杰 2017-12-27 23:02
 */
public interface MenuManageDao extends BaseDao{

    Menu getMenuByName(String name);

    int deleteMenu(Long id);

    List<Map<String, Object>> getMenuList(Menu menu);

    List<Map<String, Object>> getMenuIdAndNameList(Boolean hasAll);

    Long getMenuCount(Menu menu);

}
